package Demo02;

public class Student4 {
    public static void main(String[] args) {
            Student stu = new Student();

            stu.setName("爷们");
            stu.setAge(30);
            stu.setMale(true);

        System.out.println("姓名"+stu.getName());
        System.out.println("年龄"+stu.getAge());
        System.out.println("是不是爷们"+stu.isMale());
    }
}

